//
// Created by alexa on 5/2/2024.
//

#ifndef ARTILLERYSYSTEM_LAUNCHER_H
#define ARTILLERYSYSTEM_LAUNCHER_H

#include "../../missile/Missile.h"
#include "../CombatUnit.h"

class Launcher : public CombatUnit {
private:
    int railsCount;
    float shotsDelay;
    int missilesCount;
    float aimX;
    float aimY;
public:
    void setMissilesCount(int missilesCount);

    float getAimX() const;

    void setAimX(float aimX);

    float getAimY() const;

    void setAimY(float aimY);

    int getRailsCount() const;

    float getShotsDelay() const;

    int getMissilesCount() const;

    Launcher(string name, int railsCount, float shotsDelay);

    void shoot() override;
};


#endif //ARTILLERYSYSTEM_LAUNCHER_H
